
	<div class="box">

		<ul>
			<?php foreach ($this->menu as $menu): ?>
				<li class="nav_item"><a href="/wow/<?= $menu[url]?>"><?= $menu[name]?><i class="arrow"></i></a></li>
				<div>
				<?php if ($menu[class_name]) :?>
					<ul>
					<?php foreach ($menu[class_name] as $menuclass) : ?>
					<br/>
						<li><a href="<?= "/wow/$menu[url]?class=$menuclass[class_id]" ?>"><?= $menuclass[class_name]?></a></li>
						<?php if ($menuclass[sub_name]) :?>
						<ul>
							<?php foreach ($menuclass[sub_name] as $menusub) :?>
								<li><a href="<?= "/wow/$menu[url]?class=$menuclass[class_id]&sub=$menusub[sub_id]"?>"><?= $menusub[sub_name]?></a></li>
							<?php endforeach;?>
						</ul>
						<?php endif;?>
						
					<?php endforeach;?>
					</ul>
				<?php endif;?>
				
				</div>
				<br/>
			<?php endforeach;?>
		</ul>
	
	</div>

	
